FROM tiangolo/uvicorn-gunicorn:python3.10-slim
ENV TZ=Asia/Shanghai
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
ENV APP_ENV=prod
COPY ./swift-forge-engine /app


#docker build -t swift-forge-engine .
#docker run -d  -v /home/sfe/swift-forge-engine:/app --name swift-forge-engine -p 9200:80 swift-forge-engine